package com.panfeng.xcloud.scheduler.dao.mapper;

import com.panfeng.xcloud.dao.member.entity.UserExchangePwd;
import com.panfeng.xcloud.dao.member.mapper.UserExchangePwdMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface UserExchangePwdMapperExt extends UserExchangePwdMapper {

	List<UserExchangePwd> qryAllUserExchangePwd(@Param("exchangeType") Integer exchangeType, @Param("accountTransType") Integer accountTransType);
    /**
     * 获取用户交易所密码列表
     * @param userId
     * @param exchangeType
     * @return
     */
    List<UserExchangePwd> queryByUserId(@Param("userId") String userId, @Param("exchangeType") int exchangeType);

    List<Map<String,String>> queryUserExchangePwd(@Param("userId") String userId);
}
